package com.lp.mgt.entities;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.apache.ibatis.type.Alias;
import org.springframework.format.annotation.DateTimeFormat;

import com.lp.mgt.commons.Pager.Page;

import lombok.Data;
@Alias("post")
@Data
public class Post  extends Page implements Serializable {/**
	 * 
	 */
	private static final long serialVersionUID = -8234607531298976608L;
	private String postId;
	private String postCode;
	private String postName;
	private String postSort;
	private String state;
	private String createBy;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
	private Date createTime;
	private String updateBy;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
	private Date updateTime;
	private String remark;
	private String description;
	
	//查询条件
	@DateTimeFormat(pattern = "yyyy-MM-dd" )
	private Date bgnTime;
	@DateTimeFormat(pattern = "yyyy-MM-dd" )
	private Date endTime;
	private String deptId;
	private String deptName;
}
